package com.example.design.patterns.冰河.结构型模式.桥接模式.refinedAbstraction;

import com.example.design.patterns.冰河.结构型模式.桥接模式.abstraction.Person;
import com.example.design.patterns.冰河.结构型模式.桥接模式.implementor.Clothing;

/**
 * 扩充由 abstraction定义的接口
 */
public class Lady extends Person {
    public Lady() {
        this.setType("女人");
    }

    @Override
    public void dress() {
        Clothing clothing = this.getClothing();
        clothing.personDressCloth(this);

    }
}
